﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 数据上下文
    /// </summary>
    public class APIDbContext:DbContext
    {
        public APIDbContext(DbContextOptions<APIDbContext> opts):base(opts)
        {

        }

        public DbSet<People> people { get; set; }

        public DbSet<Employee> employee { get; set; }

        public DbSet<Interview>  interview { get; set; }
    }
}
